package 最后一块石头的重量II;

/**
 * @author: AirMan
 * @date: 2025/5/8 11:10
 * @description:
 */
public class Test {
    public static void main(String[] args) {

//        System.out.println(new Solution().lastStoneWeightII(new int[]{2,4,1,1}));

//        System.out.println(new Solution().lastStoneWeightII(new int[]{2,7,4,1,8,1}));

        System.out.println(new Solution().lastStoneWeightII(new int[]{31,26,33,21,40}));
    }
}
